package gecp.edge;

/**
 * Location
 *
 * @author Cosmin
 */
public class Location {

    /**
     * The coordinate on x axis
     */
    public int x;
    /**
     * The coordinate on y axis
     */
    public int y;

    /**
     * Construct a location without coordinate
     */
    public Location() {
        this.x = -1;
        this.y = -1;
    }

    /**
     * Construct a location with coordinate
     *
     * @param x The coordinate on x axis
     * @param y The coordinate on y axis
     */
    public Location(int x, int y) {
        this.x = x;
        this.y = y;
    }
}
